package com.atguigu.dga.governance.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ScheduledDemo {

    @Scheduled(cron = "0/5 * * * * *")
    public void test(){

        System.out.println("test:"+System.currentTimeMillis());
    }
}
